package com.study.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @ClassName: SpringConfig
 * @Description: spring配置文件
 * @author: WS
 * @date 2020/12/8
 * @Version: 1.0
 **/
@Configuration
@ComponentScan(basePackages = {"com.study"},
        useDefaultFilters = true,
        excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class)
})
public class SpringConfig {
}
